package com.topone.service;

import com.topone.dataObject.ConvenientInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;


/**
 * Created by Administrator on 2017/12/31,0031.
 */
public interface ConvenientInfoService  {

    ConvenientInfo save(ConvenientInfo convenientInfo,String loginUser);

    ConvenientInfo save(ConvenientInfo convenientInfo);

    ConvenientInfo findOne(String convenientId);

    Page<ConvenientInfo> findUpAll(Integer status,Pageable pageable);

    //买家查看所有便民信息
    List<ConvenientInfo> findUpAll(Integer status);
}
